package com.my.login.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class LoginController {

    @RequestMapping("toLogin")
    public String toLogin() {
        System.out.println("================++++++++++++++跳转登录页面");
        return "html/login";
    }

    @RequestMapping("toIndex")
    public String toIndex() {
        System.out.println("================++++++++++++++跳转登录成功页面");
        return "html/index";
    }
}
